package cc.rengu.igas.channel.wechat.common.constant;

/**
 * 应用公共常量类
 */
public class WechatParamConstant {
    public static final String IGAS_SYS_ID = "IGAS";

    /* 通道ID */
    public static final String TUNL_ID_WXZF = "WXZF";
    public static final String TUNL_ID_CUPSWXZF = "UPWX";//银联AT
    public static final String TUNL_ID_NUCCWXZF = "NUWX";//网联AT
    public static String SIGN_CERT_TYPE = "CE10";
    public static String ENCRYPT_CERT_TYPE = "CE01";
    public static String VERIFY_CERT_TYPE = "CD00";
    public static String DECRYPT_CERT_TYPE = "CD11";
    public static String SIGN_KEY_TYPE = "KE03";
    public static String SECRET_KEY_TYPE = "KE04";
    /*v3 商户私钥*/
    public static String V3_SIGN_CERT_TYPE = "CE10";
    /*v3 加密公钥*/
    public static String V3_ENCRYPT_CERT_TYPE = "CE11";
    /*v3 验签公钥*/
    public static String V3_VERIFY_CERT_TYPE = "CD10";
    /*v3 解密私钥*/
    public static String V3_DECRYPT_CERT_TYPE = "CD11";
    /*v3 AES密钥*/
    public static String V3_AES_KEY_TYPE = "KE05";
    /*网联idc列表缓存*/
    public static final String NUCC_IDC_CAC = "NUCC_IDC_CAC";
    /* 默认发卡机构标识 */
    public static final String DEFAULT_ISSUER_CODE = "00000000";
    /* 默认失效日期 */
    public static final String DEFAULT_EXPIRY_DATE = "29991231";
    /* 默认字符串分隔符 */
    public static final String DEFAULT_DELIMITER = ",";
    /* 默认0 */
    public static final String STRING_DEFAULT_ZERO = "0";
    /* 默认1 */
    public static final String STRING_DEFAULT_ONE = "1";
    /* SUCCESS */
    public static final String STRING_SUCCESS = "SUCCESS";
    /* 用户支付中 */
    public static final String USERPAYING = "USERPAYING";
    /* AILPAY_SUCCESS_CODE */
    public static final String AILPAY_SUCCESS_CODE = "10000";
    /* EPCC_SUCCESS_CODE */
    public static final String EPCC_SUCCESS_CODE = "00000000";
    /* UPAC_SUCCESS_CODE */
    public static final String UPAC_SUCCESS_CODE = "00";
    /*返回订单列表最大条数*/
    public static final int MAX_ORDER_LIST_NUM = 5;
    /* NCQS_SUCCESS_CODE */
    public static final String NCQS_SUCCESS_CODE = "00000000";
    /* 接收方超时 */
    public static final String NCQS_TIME_OUT_CODE = "ES000033";
    /* 连接故障 */
    public static final String NCQS_CONNECT_ERROR_CODE = "ES000032";

    /* XML树默认节点 */
    public static final String XML_ROOT_NAME = "radp";

    /* 默认流水号前缀 */
    public static final String PREFIX_SEQ_STRING = "TRACE";

    /*版本号*/
    public static final String VERSION = "1.0.0";

    /* 银行机构 */
    public static final String ISS_INST_CODE = "ISS_INST_CODE";

    /*cups清算日期参数*/
    public static final String CUPS_SETTLE_DATE_PARAM_TYPE = "CUPS_SETTLE_DATE";

    /*签名算法*/
    public static final String HMAC_SHA256_SIGNTYPE = "HMAC-SHA256";
    /* 生成微信Access_token默认授权类型 */
    public static final String DEFAULT_WECHAT_TOKEN_GRANT_TYPE = "client_credential";
    /* 微信ACCESS_TOKEN有效时间 */
    public static final int ACCESS_TOKEN_EXPIRY_TIME = 7000;
    /* 微信ACCESS_TOKEN缓存名称 */
    public static final String ACCESS_TOKEN_CACHE_NAME = "ACCESS_TOKEN_";
    /* 微信ticket缓存名称 */
    public static final String TICKET_CACHE_NAME = "JSAPI_TICKET_";
    /* 微信消息推送firstdata配置 */
    public static final String WECHAT_MSG_PUSH_FIRSTDATA_PARAM = "WECHAT_MSG_PUSH_FIRSTDATA_PARAM";
    /* 业务名称 */
    public static final String WECHAT_MSG_PUSH_BUSINAME_PARAM = "busiName";
    /* 连续月份 */
    public static final String WECHAT_MSG_PUSH_MONTH_PARAM = "month";
    /* 天数 */
    public static final String WECHAT_MSG_PUSH_DATE_PARAM = "date";
    /* 获取微信ticket类型 */
    public static final String WECHAT_TICKET_TYPE = "jsapi";
    /* 机构联系电话 */
    public static final String WECHAT_MSG_PUSH_SERVICE_PHONE_PARAM = "servicePhone";
    /* 证书缓存 */
    public static final String CERT_KEY_CACHE = "CERT_KEY_CACHE";
}
